﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000EC5 RID: 3781
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueDebugMessageScNotify : IMessage<RogueDebugMessageScNotify>, IMessage, IEquatable<RogueDebugMessageScNotify>, IDeepCloneable<RogueDebugMessageScNotify>, IBufferMessage
	{
		// Token: 0x17002FF1 RID: 12273
		// (get) Token: 0x0600A96E RID: 43374 RVA: 0x001C9717 File Offset: 0x001C7917
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueDebugMessageScNotify> Parser
		{
			get
			{
				return RogueDebugMessageScNotify._parser;
			}
		}

		// Token: 0x17002FF2 RID: 12274
		// (get) Token: 0x0600A96F RID: 43375 RVA: 0x001C971E File Offset: 0x001C791E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueDebugMessageScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002FF3 RID: 12275
		// (get) Token: 0x0600A970 RID: 43376 RVA: 0x001C9730 File Offset: 0x001C7930
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueDebugMessageScNotify.Descriptor;
			}
		}

		// Token: 0x0600A971 RID: 43377 RVA: 0x001C9737 File Offset: 0x001C7937
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueDebugMessageScNotify()
		{
		}

		// Token: 0x0600A972 RID: 43378 RVA: 0x001C9755 File Offset: 0x001C7955
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueDebugMessageScNotify(RogueDebugMessageScNotify other) : this()
		{
			this.type_ = other.type_;
			this.iKLKBLKBHBN_ = other.iKLKBLKBHBN_;
			this.jIEDCPKJJBP_ = other.jIEDCPKJJBP_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A973 RID: 43379 RVA: 0x001C9792 File Offset: 0x001C7992
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueDebugMessageScNotify Clone()
		{
			return new RogueDebugMessageScNotify(this);
		}

		// Token: 0x17002FF4 RID: 12276
		// (get) Token: 0x0600A974 RID: 43380 RVA: 0x001C979A File Offset: 0x001C799A
		// (set) Token: 0x0600A975 RID: 43381 RVA: 0x001C97A2 File Offset: 0x001C79A2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueDebugMessageType Type
		{
			get
			{
				return this.type_;
			}
			set
			{
				this.type_ = value;
			}
		}

		// Token: 0x17002FF5 RID: 12277
		// (get) Token: 0x0600A976 RID: 43382 RVA: 0x001C97AB File Offset: 0x001C79AB
		// (set) Token: 0x0600A977 RID: 43383 RVA: 0x001C97B3 File Offset: 0x001C79B3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public string IKLKBLKBHBN
		{
			get
			{
				return this.iKLKBLKBHBN_;
			}
			set
			{
				this.iKLKBLKBHBN_ = ProtoPreconditions.CheckNotNull<string>(value, "value");
			}
		}

		// Token: 0x17002FF6 RID: 12278
		// (get) Token: 0x0600A978 RID: 43384 RVA: 0x001C97C6 File Offset: 0x001C79C6
		// (set) Token: 0x0600A979 RID: 43385 RVA: 0x001C97CE File Offset: 0x001C79CE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public string JIEDCPKJJBP
		{
			get
			{
				return this.jIEDCPKJJBP_;
			}
			set
			{
				this.jIEDCPKJJBP_ = ProtoPreconditions.CheckNotNull<string>(value, "value");
			}
		}

		// Token: 0x0600A97A RID: 43386 RVA: 0x001C97E1 File Offset: 0x001C79E1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueDebugMessageScNotify);
		}

		// Token: 0x0600A97B RID: 43387 RVA: 0x001C97F0 File Offset: 0x001C79F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueDebugMessageScNotify other)
		{
			return other != null && (other == this || (this.Type == other.Type && !(this.IKLKBLKBHBN != other.IKLKBLKBHBN) && !(this.JIEDCPKJJBP != other.JIEDCPKJJBP) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A97C RID: 43388 RVA: 0x001C9854 File Offset: 0x001C7A54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Type != RogueDebugMessageType.None)
			{
				num ^= this.Type.GetHashCode();
			}
			if (this.IKLKBLKBHBN.Length != 0)
			{
				num ^= this.IKLKBLKBHBN.GetHashCode();
			}
			if (this.JIEDCPKJJBP.Length != 0)
			{
				num ^= this.JIEDCPKJJBP.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A97D RID: 43389 RVA: 0x001C98CF File Offset: 0x001C7ACF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A97E RID: 43390 RVA: 0x001C98D7 File Offset: 0x001C7AD7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A97F RID: 43391 RVA: 0x001C98E0 File Offset: 0x001C7AE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.JIEDCPKJJBP.Length != 0)
			{
				output.WriteRawTag(10);
				output.WriteString(this.JIEDCPKJJBP);
			}
			if (this.IKLKBLKBHBN.Length != 0)
			{
				output.WriteRawTag(42);
				output.WriteString(this.IKLKBLKBHBN);
			}
			if (this.Type != RogueDebugMessageType.None)
			{
				output.WriteRawTag(64);
				output.WriteEnum((int)this.Type);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A980 RID: 43392 RVA: 0x001C9960 File Offset: 0x001C7B60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Type != RogueDebugMessageType.None)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.Type);
			}
			if (this.IKLKBLKBHBN.Length != 0)
			{
				num += 1 + CodedOutputStream.ComputeStringSize(this.IKLKBLKBHBN);
			}
			if (this.JIEDCPKJJBP.Length != 0)
			{
				num += 1 + CodedOutputStream.ComputeStringSize(this.JIEDCPKJJBP);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A981 RID: 43393 RVA: 0x001C99D8 File Offset: 0x001C7BD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueDebugMessageScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Type != RogueDebugMessageType.None)
			{
				this.Type = other.Type;
			}
			if (other.IKLKBLKBHBN.Length != 0)
			{
				this.IKLKBLKBHBN = other.IKLKBLKBHBN;
			}
			if (other.JIEDCPKJJBP.Length != 0)
			{
				this.JIEDCPKJJBP = other.JIEDCPKJJBP;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A982 RID: 43394 RVA: 0x001C9A46 File Offset: 0x001C7C46
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A983 RID: 43395 RVA: 0x001C9A50 File Offset: 0x001C7C50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					if (num != 42U)
					{
						if (num != 64U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.Type = (RogueDebugMessageType)input.ReadEnum();
						}
					}
					else
					{
						this.IKLKBLKBHBN = input.ReadString();
					}
				}
				else
				{
					this.JIEDCPKJJBP = input.ReadString();
				}
			}
		}

		// Token: 0x040044BC RID: 17596
		private static readonly MessageParser<RogueDebugMessageScNotify> _parser = new MessageParser<RogueDebugMessageScNotify>(() => new RogueDebugMessageScNotify());

		// Token: 0x040044BD RID: 17597
		private UnknownFieldSet _unknownFields;

		// Token: 0x040044BE RID: 17598
		public const int TypeFieldNumber = 8;

		// Token: 0x040044BF RID: 17599
		private RogueDebugMessageType type_;

		// Token: 0x040044C0 RID: 17600
		public const int IKLKBLKBHBNFieldNumber = 5;

		// Token: 0x040044C1 RID: 17601
		private string iKLKBLKBHBN_ = "";

		// Token: 0x040044C2 RID: 17602
		public const int JIEDCPKJJBPFieldNumber = 1;

		// Token: 0x040044C3 RID: 17603
		private string jIEDCPKJJBP_ = "";
	}
}
